package com.golddaymicromall.activity.tickert;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.bumptech.glide.Glide;
import com.golddaymicromall.activity.R;
import com.golddaymicromall.base.BaseActivity;
import com.golddaymicromall.util.ActivityController;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class TicketDetailActivity extends BaseActivity {

    @Bind(R.id.ticketdetail_back)
    LinearLayout ticketdetailBack;
    @Bind(R.id.ticketdetail_image)
    ImageView ticketdetailImage;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ticket_detail);
        ButterKnife.bind(this);
        Glide.with(this).load(R.drawable.ticketdetial).centerCrop().into(ticketdetailImage);
    }

    @OnClick(R.id.ticketdetail_back)
    public void onClick() {
        finish();
        ActivityController.getInstance().removeActivity(this);
    }
}
